package com.chenbei.erp.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "库存录入")
@Data
public class InventoryVo {

    @Schema(description = "产品ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long productId;

    @Schema(description = "产品数量")
    private Integer productNumber;

    @Schema(description = "仓位ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long storageLocationId;

    @Schema(description = "交易类型[1:入库|2:出库]")
    private Integer transactionType;

    @Schema(description = "备注")
    private String remark;
}
